<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的订单 - 美食订餐系统</title>
    <link rel="stylesheet" href="assets/css/style.css">
    <link rel="stylesheet" href="assets/css/orders.css">
</head>
<body>
    <nav class="navbar">
        <div class="nav-container container">
            <a href="menu.html" class="nav-logo">美食订餐</a>
            <ul class="nav-links">
                <li><a href="menu.html">菜单</a></li>
                <li><a href="order.html">下单</a></li>
                <li><a href="orders.html" class="active">我的订单</a></li>
                <li><a href="#" id="logout-btn">退出</a></li>
            </ul>
        </div>
    </nav>

    <div class="container">
        <h2>我的订单</h2>
        <div id="loading" class="loading">加载中...</div>
        <div id="orders-container" class="orders-container">
            <!-- 订单将通过JS动态加载 -->
        </div>
    </div>

    <script src="assets/js/api.js"></script>
    <script src="assets/js/auth.js"></script>
    <script src="assets/js/orders.js" type="module"></script>
</body>
</html>